package com.softeem.service.Impl;

import com.softeem.mapper.BlogMapper;
import com.softeem.model.BlogModel;
import com.softeem.service.BlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BlogServiceImpl implements BlogService {
    @Autowired
    private BlogMapper blogMapper;

    @Override
    public List<BlogModel> getBlog(String tName, Integer number, Integer len) {
        List<BlogModel> blogs = blogMapper.getBlogS(tName, number, len);
        return blogs;
    }




}
